package com.hehua.FactoryMethodTwo;

public class FactoryMethodClient {
    public static void main(String[] args) throws Exception {
        Logger logger = null;
        LoggerFactory loggerFactory = null;
        loggerFactory = (LoggerFactory) XmlUtil.getBean();
        logger = loggerFactory.createLogger("com.jdbc.mysql.driver");
        logger.writeLogger();


    }
}
